/* $Id: str_dup.c,v 1.3 2003/10/18 09:00:32 sby Exp $ */

#include "dao.h"
  
char *
str_dup(src, pad)
  char *src;
  int pad;
{
  char *dst;

  dst = (char *) malloc(strlen(src) + pad);
  strcpy(dst, src);
  return dst;
}

